import App from './App';
import { createSSRApp } from 'vue';
import uView from './uni_modules/vk-uview-ui';
import { setupPinia } from './common/store';
import common from './common';


export function createApp() {

  const app = createSSRApp(App);

  setupPinia(app)
  // 使用 uView UI
  app.use(uView)
  app.use(common)

  return {
    app,
  };
}
